.class public Lcom/waiqin365/lightapp/kehu/c/b;
.super Ljava/lang/Object;


# static fields
.field private static a:Lcom/waiqin365/compons/view/c;


# direct methods
.method public static a(DDDD)D
    .locals 12

    const-wide v0, 0x400921fb54442d18L    # Math.PI

    mul-double/2addr v0, p2

    const-wide v2, 0x4066800000000000L    # 180.0

    div-double/2addr v0, v2

    const-wide v2, 0x400921fb54442d18L    # Math.PI

    mul-double v2, v2, p6

    const-wide v4, 0x4066800000000000L    # 180.0

    div-double/2addr v2, v4

    sub-double v4, v0, v2

    const-wide v6, 0x400921fb54442d18L    # Math.PI

    mul-double/2addr v6, p0

    const-wide v8, 0x4066800000000000L    # 180.0

    div-double/2addr v6, v8

    const-wide v8, 0x400921fb54442d18L    # Math.PI

    mul-double v8, v8, p4

    const-wide v10, 0x4066800000000000L    # 180.0

    div-double/2addr v8, v10

    sub-double/2addr v6, v8

    const-wide/high16 v8, 0x4000000000000000L    # 2.0

    const-wide/high16 v10, 0x4000000000000000L    # 2.0

    div-double/2addr v4, v10

    invoke-static {v4, v5}, Ljava/lang/Math;->sin(D)D

    move-result-wide v4

    const-wide/high16 v10, 0x4000000000000000L    # 2.0

    invoke-static {v4, v5, v10, v11}, Ljava/lang/Math;->pow(DD)D

    move-result-wide v4

    invoke-static {v0, v1}, Ljava/lang/Math;->cos(D)D

    move-result-wide v0

    invoke-static {v2, v3}, Ljava/lang/Math;->cos(D)D

    move-result-wide v2

    mul-double/2addr v0, v2

    const-wide/high16 v2, 0x4000000000000000L    # 2.0

    div-double v2, v6, v2

    invoke-static {v2, v3}, Ljava/lang/Math;->sin(D)D

    move-result-wide v2

    const-wide/high16 v6, 0x4000000000000000L    # 2.0

    invoke-static {v2, v3, v6, v7}, Ljava/lang/Math;->pow(DD)D

    move-result-wide v2

    mul-double/2addr v0, v2

    add-double/2addr v0, v4

    invoke-static {v0, v1}, Ljava/lang/Math;->sqrt(D)D

    move-result-wide v0

    invoke-static {v0, v1}, Ljava/lang/Math;->asin(D)D

    move-result-wide v0

    mul-double/2addr v0, v8

    const-wide v2, 0x415854a640000000L    # 6378137.0

    mul-double/2addr v0, v2

    const-wide v2, 0x40c3880000000000L    # 10000.0

    mul-double/2addr v0, v2

    invoke-static {v0, v1}, Ljava/lang/Math;->round(D)J

    move-result-wide v0

    const-wide/16 v2, 0x2710

    div-long/2addr v0, v2

    long-to-double v0, v0

    return-wide v0
.end method

.method static synthetic a()Lcom/waiqin365/compons/view/c;
    .locals 1

    sget-object v0, Lcom/waiqin365/lightapp/kehu/c/b;->a:Lcom/waiqin365/compons/view/c;

    return-object v0
.end method

.method static synthetic a(Lcom/waiqin365/compons/view/c;)Lcom/waiqin365/compons/view/c;
    .locals 0

    sput-object p0, Lcom/waiqin365/lightapp/kehu/c/b;->a:Lcom/waiqin365/compons/view/c;

    return-object p0
.end method

.method private static a(Landroid/content/Context;Lcom/waiqin365/lightapp/kehu/b/bd;Z)Lcom/waiqin365/lightapp/kehu/view/CMCustomView;
    .locals 1

    const-string/jumbo v0, "#"

    invoke-static {p0, p1, p2, v0}, Lcom/waiqin365/lightapp/kehu/c/b;->a(Landroid/content/Context;Lcom/waiqin365/lightapp/kehu/b/bd;ZLjava/lang/String;)Lcom/waiqin365/lightapp/kehu/view/CMCustomView;

    move-result-object v0

    return-object v0
.end method

.method private static a(Landroid/content/Context;Lcom/waiqin365/lightapp/kehu/b/bd;ZLjava/lang/String;)Lcom/waiqin365/lightapp/kehu/view/CMCustomView;
    .locals 11

    const/4 v2, 0x0

    const/4 v10, 0x1

    if-eqz p1, :cond_a

    iget-object v0, p1, Lcom/waiqin365/lightapp/kehu/b/bd;->d:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_a

    new-instance v4, Ljava/util/ArrayList;

    invoke-direct {v4}, Ljava/util/ArrayList;-><init>()V

    new-instance v5, Ljava/util/ArrayList;

    invoke-direct {v5}, Ljava/util/ArrayList;-><init>()V

    new-instance v6, Ljava/util/ArrayList;

    invoke-direct {v6}, Ljava/util/ArrayList;-><init>()V

    new-instance v7, Ljava/util/ArrayList;

    invoke-direct {v7}, Ljava/util/ArrayList;-><init>()V

    invoke-static {p3}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_0

    const-string/jumbo p3, "#"

    :cond_0
    iget-object v0, p1, Lcom/waiqin365/lightapp/kehu/b/bd;->d:Ljava/lang/String;

    invoke-static {v0, p3, v6}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;Ljava/lang/String;Ljava/util/ArrayList;)V

    iget-object v0, p1, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_1

    iget-object v0, p1, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    invoke-static {v0, p3, v7}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;Ljava/lang/String;Ljava/util/ArrayList;)V

    :cond_1
    const/4 v0, 0x0

    move v3, v0

    :goto_0
    if-eqz v6, :cond_4

    invoke-virtual {v6}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v3, v0, :cond_4

    invoke-virtual {v6, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    new-instance v8, Lcom/waiqin365/lightapp/kehu/b/cd;

    invoke-direct {v8}, Lcom/waiqin365/lightapp/kehu/b/cd;-><init>()V

    iput-object v0, v8, Lcom/waiqin365/lightapp/kehu/b/cd;->b:Ljava/lang/String;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v9, p1, Lcom/waiqin365/lightapp/kehu/b/bd;->h:Ljava/lang/String;

    invoke-virtual {v1, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    iput-object v1, v8, Lcom/waiqin365/lightapp/kehu/b/cd;->a:Ljava/lang/String;

    invoke-virtual {v4, v8}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    invoke-virtual {v7}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v9

    :cond_2
    :goto_1
    invoke-interface {v9}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_3

    invoke-interface {v9}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_2

    invoke-virtual {v5, v8}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto :goto_1

    :cond_3
    add-int/lit8 v0, v3, 0x1

    move v3, v0

    goto :goto_0

    :cond_4
    if-eqz p2, :cond_8

    new-instance v0, Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;

    invoke-direct {v0, p0, v2, v10}, Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;Z)V

    invoke-virtual {v0, v4}, Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;->setValueItems(Ljava/util/List;)V

    invoke-virtual {v0, p3}, Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;->setSeparate(Ljava/lang/String;)V

    invoke-virtual {v0, v10}, Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;->setShowClear(Z)V

    invoke-virtual {v5}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-lez v1, :cond_5

    invoke-virtual {v0, v5}, Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;->setSelectedItems(Ljava/util/List;)V

    :cond_5
    const-string/jumbo v1, "cooperate_status"

    iget-object v2, p1, Lcom/waiqin365/lightapp/kehu/b/bd;->h:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_7

    new-instance v1, Lcom/waiqin365/lightapp/kehu/c/g;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/kehu/c/g;-><init>(Landroid/content/Context;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;->setOnChangeListener(Lcom/waiqin365/lightapp/view/cn;)V

    :cond_6
    :goto_2
    return-object v0

    :cond_7
    const-string/jumbo v1, "ka_sys"

    iget-object v2, p1, Lcom/waiqin365/lightapp/kehu/b/bd;->h:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_6

    invoke-virtual {v0, v10}, Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;->c(Z)V

    goto :goto_2

    :cond_8
    new-instance v0, Lcom/waiqin365/lightapp/view/MultSelectViewNew_vertical;

    invoke-direct {v0, p0, v2, v10}, Lcom/waiqin365/lightapp/view/MultSelectViewNew_vertical;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;Z)V

    invoke-virtual {v0, p3}, Lcom/waiqin365/lightapp/view/MultSelectViewNew_vertical;->setSeparate(Ljava/lang/String;)V

    invoke-virtual {v0, v4}, Lcom/waiqin365/lightapp/view/MultSelectViewNew_vertical;->setValueItems(Ljava/util/List;)V

    invoke-virtual {v0, v10}, Lcom/waiqin365/lightapp/view/MultSelectViewNew_vertical;->setShowClear(Z)V

    invoke-virtual {v5}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-lez v1, :cond_9

    invoke-virtual {v0, v5}, Lcom/waiqin365/lightapp/view/MultSelectViewNew_vertical;->setSelectedItems(Ljava/util/List;)V

    :cond_9
    const-string/jumbo v1, "ka_sys"

    iget-object v2, p1, Lcom/waiqin365/lightapp/kehu/b/bd;->h:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_6

    invoke-virtual {v0, v10}, Lcom/waiqin365/lightapp/view/MultSelectViewNew_vertical;->c(Z)V

    goto :goto_2

    :cond_a
    move-object v0, v2

    goto :goto_2
.end method

.method private static a(Landroid/content/Context;Lcom/waiqin365/lightapp/kehu/b/bl;)Lcom/waiqin365/lightapp/kehu/view/CMCustomView;
    .locals 8

    const/4 v1, 0x0

    const/4 v7, 0x1

    if-eqz p1, :cond_1

    iget-object v0, p1, Lcom/waiqin365/lightapp/kehu/b/bl;->c:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_1

    new-instance v2, Ljava/util/ArrayList;

    invoke-direct {v2}, Ljava/util/ArrayList;-><init>()V

    :try_start_0
    new-instance v3, Lorg/json/JSONArray;

    iget-object v0, p1, Lcom/waiqin365/lightapp/kehu/b/bl;->c:Ljava/lang/String;

    invoke-direct {v3, v0}, Lorg/json/JSONArray;-><init>(Ljava/lang/String;)V

    const/4 v0, 0x0

    :goto_0
    if-eqz v3, :cond_0

    invoke-virtual {v3}, Lorg/json/JSONArray;->length()I

    move-result v4

    if-ge v0, v4, :cond_0

    invoke-virtual {v3, v0}, Lorg/json/JSONArray;->optJSONObject(I)Lorg/json/JSONObject;

    move-result-object v4

    new-instance v5, Lcom/waiqin365/lightapp/kehu/b/cd;

    invoke-direct {v5}, Lcom/waiqin365/lightapp/kehu/b/cd;-><init>()V

    const-string/jumbo v6, "text"

    invoke-virtual {v4, v6}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v6

    iput-object v6, v5, Lcom/waiqin365/lightapp/kehu/b/cd;->b:Ljava/lang/String;

    const-string/jumbo v6, "value"

    invoke-virtual {v4, v6}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    iput-object v4, v5, Lcom/waiqin365/lightapp/kehu/b/cd;->a:Ljava/lang/String;

    invoke-virtual {v2, v5}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Lorg/json/JSONException;->printStackTrace()V

    :cond_0
    new-instance v0, Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;

    invoke-direct {v0, p0, v1, v7}, Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;Z)V

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;->setValueItems(Ljava/util/List;)V

    const-string/jumbo v1, "#"

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;->setSeparate(Ljava/lang/String;)V

    invoke-virtual {v0, v7}, Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;->setShowClear(Z)V

    :goto_1
    return-object v0

    :cond_1
    move-object v0, v1

    goto :goto_1
.end method

.method private static a(Landroid/content/Context;Lcom/waiqin365/lightapp/kehu/b/bl;Z)Lcom/waiqin365/lightapp/kehu/view/CMCustomView;
    .locals 2

    if-eqz p1, :cond_0

    new-instance v0, Lcom/waiqin365/lightapp/kehu/b/bd;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/kehu/b/bd;-><init>()V

    iget-object v1, p1, Lcom/waiqin365/lightapp/kehu/b/bl;->a:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->a:Ljava/lang/String;

    iget-object v1, p1, Lcom/waiqin365/lightapp/kehu/b/bl;->e:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->h:Ljava/lang/String;

    iget-object v1, p1, Lcom/waiqin365/lightapp/kehu/b/bl;->c:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->d:Ljava/lang/String;

    iget-object v1, p1, Lcom/waiqin365/lightapp/kehu/b/bl;->d:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->g:Ljava/lang/String;

    invoke-static {p0, v0, p2}, Lcom/waiqin365/lightapp/kehu/c/b;->a(Landroid/content/Context;Lcom/waiqin365/lightapp/kehu/b/bd;Z)Lcom/waiqin365/lightapp/kehu/view/CMCustomView;

    move-result-object v0

    :goto_0
    return-object v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public static a(Ljava/lang/String;)Ljava/lang/String;
    .locals 5

    const/4 v2, 0x0

    new-instance v3, Ljava/util/ArrayList;

    invoke-direct {v3}, Ljava/util/ArrayList;-><init>()V

    const/16 v0, 0x23

    invoke-static {p0, v0, v3}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;CLjava/util/ArrayList;)V

    const-string/jumbo v0, ""

    move v1, v2

    :goto_0
    invoke-virtual {v3}, Ljava/util/ArrayList;->size()I

    move-result v4

    if-ge v1, v4, :cond_1

    if-nez v1, :cond_0

    invoke-virtual {v3, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    :goto_1
    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    :cond_0
    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v4, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v4, "\u3001"

    invoke-virtual {v0, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v3, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v4, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    goto :goto_1

    :cond_1
    return-object v0
.end method

.method public static a(Landroid/app/Activity;Landroid/widget/LinearLayout;Ljava/util/ArrayList;Ljava/lang/String;Landroid/view/View;Landroid/view/View;Landroid/view/View;Landroid/view/View;)V
    .locals 6

    if-eqz p2, :cond_10

    const/4 v0, 0x0

    move v3, v0

    :goto_0
    invoke-virtual {p2}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v3, v0, :cond_10

    const/4 v2, 0x0

    invoke-virtual {p2, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/bd;

    const-string/jumbo v1, "name"

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->h:Ljava/lang/String;

    invoke-virtual {v1, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_1

    if-eqz p4, :cond_0

    invoke-virtual {p4}, Landroid/view/View;->getParent()Landroid/view/ViewParent;

    move-result-object v0

    if-nez v0, :cond_0

    invoke-virtual {p1, p4}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    :cond_0
    :goto_1
    add-int/lit8 v0, v3, 0x1

    move v3, v0

    goto :goto_0

    :cond_1
    const-string/jumbo v1, "type_id"

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->h:Ljava/lang/String;

    invoke-virtual {v1, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_2

    if-eqz p5, :cond_0

    invoke-virtual {p5}, Landroid/view/View;->getParent()Landroid/view/ViewParent;

    move-result-object v0

    if-nez v0, :cond_0

    invoke-virtual {p1, p5}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    goto :goto_1

    :cond_2
    const-string/jumbo v1, "district_id"

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->h:Ljava/lang/String;

    invoke-virtual {v1, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_3

    if-eqz p6, :cond_0

    invoke-virtual {p6}, Landroid/view/View;->getParent()Landroid/view/ViewParent;

    move-result-object v0

    if-nez v0, :cond_0

    invoke-virtual {p1, p6}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    goto :goto_1

    :cond_3
    const-string/jumbo v1, "addr"

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->h:Ljava/lang/String;

    invoke-virtual {v1, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_4

    if-eqz p7, :cond_0

    invoke-virtual {p7}, Landroid/view/View;->getParent()Landroid/view/ViewParent;

    move-result-object v0

    if-nez v0, :cond_0

    invoke-virtual {p1, p7}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    goto :goto_1

    :cond_4
    const-string/jumbo v1, "return_reason"

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->h:Ljava/lang/String;

    invoke-virtual {v1, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_0

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->a:Ljava/lang/String;

    invoke-virtual {v1}, Ljava/lang/String;->toCharArray()[C

    move-result-object v1

    const/4 v4, 0x0

    aget-char v1, v1, v4

    packed-switch v1, :pswitch_data_0

    :cond_5
    :goto_2
    :pswitch_0
    if-eqz v2, :cond_0

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->B:Ljava/lang/String;

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_e

    const/4 v1, 0x1

    :goto_3
    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->a(Z)V

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->B:Ljava/lang/String;

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setDescription(Ljava/lang/String;)V

    const-string/jumbo v1, "1"

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->z:Ljava/lang/String;

    invoke-virtual {v1, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    iput-boolean v1, v2, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->o:Z

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->h:Ljava/lang/String;

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setCode(Ljava/lang/String;)V

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->g:Ljava/lang/String;

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setLabel(Ljava/lang/CharSequence;)V

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->c:Ljava/lang/String;

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setMustinput(Ljava/lang/String;)V

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->b:Ljava/lang/String;

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setMaxlen(Ljava/lang/String;)V

    iget-boolean v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->m:Z

    if-nez v1, :cond_f

    const/4 v1, 0x1

    :goto_4
    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setEdit(Z)V

    iget-boolean v0, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->n:Z

    invoke-virtual {v2, v0}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setViewIgnore(Z)V

    invoke-virtual {p2}, Ljava/util/ArrayList;->size()I

    move-result v0

    add-int/lit8 v0, v0, -0x1

    if-ne v3, v0, :cond_6

    const/4 v0, 0x0

    invoke-virtual {v2, v0}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setBottomLineStatus(Z)V

    :cond_6
    invoke-virtual {p1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    goto/16 :goto_1

    :pswitch_1
    new-instance v2, Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;

    const/4 v1, 0x0

    invoke-direct {v2, p0, v1}, Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    if-eqz v1, :cond_5

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v1

    if-lez v1, :cond_5

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setValue(Ljava/lang/String;)V

    goto :goto_2

    :pswitch_2
    new-instance v2, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;

    const/4 v1, 0x0

    invoke-direct {v2, p0, v1}, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    if-eqz v1, :cond_5

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v1

    if-lez v1, :cond_5

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setValue(Ljava/lang/String;)V

    goto :goto_2

    :pswitch_3
    new-instance v2, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;

    const/4 v1, 0x0

    invoke-direct {v2, p0, v1}, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    if-eqz v1, :cond_7

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v1

    if-lez v1, :cond_7

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setValue(Ljava/lang/String;)V

    :cond_7
    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->d:Ljava/lang/String;

    if-eqz v1, :cond_5

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->d:Ljava/lang/String;

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v1

    if-lez v1, :cond_5

    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->d:Ljava/lang/String;

    invoke-virtual {v1, v4}, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->setSelectItem(Ljava/lang/String;)V

    goto/16 :goto_2

    :pswitch_4
    const/4 v1, 0x0

    invoke-static {p0, v0, v1}, Lcom/waiqin365/lightapp/kehu/c/b;->a(Landroid/content/Context;Lcom/waiqin365/lightapp/kehu/b/bd;Z)Lcom/waiqin365/lightapp/kehu/view/CMCustomView;

    move-result-object v2

    goto/16 :goto_2

    :pswitch_5
    new-instance v2, Lcom/waiqin365/lightapp/view/DateViewHasClear_vertical;

    const/4 v1, 0x0

    invoke-direct {v2, p0, v1}, Lcom/waiqin365/lightapp/view/DateViewHasClear_vertical;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/view/DateViewHasClear_vertical;

    const/4 v4, 0x0

    invoke-virtual {v1, v4}, Lcom/waiqin365/lightapp/view/DateViewHasClear_vertical;->setType(I)V

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    if-eqz v1, :cond_5

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v1

    if-lez v1, :cond_5

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setValue(Ljava/lang/String;)V

    goto/16 :goto_2

    :pswitch_6
    new-instance v2, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    const/4 v1, 0x0

    invoke-direct {v2, p0, v1}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->o:Ljava/lang/String;

    invoke-virtual {v1, v4}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setPicUrl(Ljava/lang/String;)V

    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    iget v4, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->j:I

    invoke-virtual {v1, v4}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setPwidth(I)V

    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    iget v4, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->i:I

    invoke-virtual {v1, v4}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setMaxPic(I)V

    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    iget-boolean v4, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->k:Z

    invoke-virtual {v1, v4}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setAllowSelect(Z)V

    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    const v4, 0x7f0800bc

    invoke-virtual {p0, v4}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v1, v4}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setPhotoType(Ljava/lang/String;)V

    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    new-instance v4, Lcom/waiqin365/lightapp/kehu/c/c;

    invoke-direct {v4}, Lcom/waiqin365/lightapp/kehu/c/c;-><init>()V

    invoke-virtual {v1, v4}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setDispathTouchEventListener(Lcom/waiqin365/lightapp/view/fo;)V

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    if-eqz v1, :cond_5

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v1

    if-lez v1, :cond_5

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setValue(Ljava/lang/String;)V

    goto/16 :goto_2

    :pswitch_7
    new-instance v2, Lcom/waiqin365/lightapp/kehu/view/NumberTextView_vertical;

    const/4 v1, 0x0

    invoke-direct {v2, p0, v1}, Lcom/waiqin365/lightapp/kehu/view/NumberTextView_vertical;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    if-eqz v1, :cond_5

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v1

    if-lez v1, :cond_5

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setValue(Ljava/lang/String;)V

    goto/16 :goto_2

    :pswitch_8
    const/4 v1, 0x1

    invoke-static {p0, v0, v1}, Lcom/waiqin365/lightapp/kehu/c/b;->a(Landroid/content/Context;Lcom/waiqin365/lightapp/kehu/b/bd;Z)Lcom/waiqin365/lightapp/kehu/view/CMCustomView;

    move-result-object v2

    goto/16 :goto_2

    :pswitch_9
    new-instance v2, Lcom/waiqin365/lightapp/kehu/view/CMCustomerTypePickerView_vertical;

    const/4 v1, 0x0

    invoke-direct {v2, p0, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomerTypePickerView_vertical;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    if-eqz v1, :cond_8

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v1

    if-lez v1, :cond_8

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setValue(Ljava/lang/String;)V

    :cond_8
    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->f:Ljava/lang/String;

    if-eqz v1, :cond_5

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->f:Ljava/lang/String;

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v1

    if-lez v1, :cond_5

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->f:Ljava/lang/String;

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setDisplayValue(Ljava/lang/String;)V

    goto/16 :goto_2

    :pswitch_a
    new-instance v2, Lcom/waiqin365/lightapp/kehu/view/CustomerareapickerView_vertical;

    const/4 v1, 0x0

    invoke-direct {v2, p0, v1}, Lcom/waiqin365/lightapp/kehu/view/CustomerareapickerView_vertical;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    if-eqz v1, :cond_9

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v1

    if-lez v1, :cond_9

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setValue(Ljava/lang/String;)V

    :cond_9
    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->f:Ljava/lang/String;

    if-eqz v1, :cond_5

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->f:Ljava/lang/String;

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v1

    if-lez v1, :cond_5

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->f:Ljava/lang/String;

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setDisplayValue(Ljava/lang/String;)V

    goto/16 :goto_2

    :pswitch_b
    new-instance v2, Lcom/waiqin365/lightapp/kehu/view/SupercmpickerView_vertical;

    const/4 v1, 0x0

    invoke-direct {v2, p0, v1}, Lcom/waiqin365/lightapp/kehu/view/SupercmpickerView_vertical;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    if-eqz v1, :cond_a

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v1

    if-lez v1, :cond_a

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setValue(Ljava/lang/String;)V

    :cond_a
    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->f:Ljava/lang/String;

    if-eqz v1, :cond_5

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->f:Ljava/lang/String;

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v1

    if-lez v1, :cond_5

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->f:Ljava/lang/String;

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setDisplayValue(Ljava/lang/String;)V

    goto/16 :goto_2

    :pswitch_c
    new-instance v2, Lcom/waiqin365/lightapp/kehu/view/CustomerShareView_vertical;

    const/4 v1, 0x0

    invoke-direct {v2, p0, v1}, Lcom/waiqin365/lightapp/kehu/view/CustomerShareView_vertical;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/kehu/view/CustomerShareView_vertical;

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->q:Ljava/lang/String;

    invoke-virtual {v1, v4}, Lcom/waiqin365/lightapp/kehu/view/CustomerShareView_vertical;->setShareBtnVisible(Ljava/lang/String;)V

    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/kehu/view/CustomerShareView_vertical;

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->l:Ljava/lang/String;

    invoke-virtual {v1, v4}, Lcom/waiqin365/lightapp/kehu/view/CustomerShareView_vertical;->setCmId(Ljava/lang/String;)V

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->f:Ljava/lang/String;

    if-eqz v1, :cond_5

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->f:Ljava/lang/String;

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v1

    if-lez v1, :cond_5

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->f:Ljava/lang/String;

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setValue(Ljava/lang/String;)V

    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/kehu/view/CustomerShareView_vertical;

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    invoke-virtual {v1, v4}, Lcom/waiqin365/lightapp/kehu/view/CustomerShareView_vertical;->setSharedIds(Ljava/lang/String;)V

    goto/16 :goto_2

    :pswitch_d
    new-instance v2, Lcom/waiqin365/lightapp/kehu/view/AgencyView_vertical;

    const/4 v1, 0x0

    invoke-direct {v2, p0, v1}, Lcom/waiqin365/lightapp/kehu/view/AgencyView_vertical;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    invoke-static {p3}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_b

    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/kehu/view/AgencyView_vertical;

    invoke-virtual {v1, p3}, Lcom/waiqin365/lightapp/kehu/view/AgencyView_vertical;->setStoreId(Ljava/lang/String;)V

    :cond_b
    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    if-eqz v1, :cond_c

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v1

    if-lez v1, :cond_c

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setValue(Ljava/lang/String;)V

    :cond_c
    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->f:Ljava/lang/String;

    if-eqz v1, :cond_5

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->f:Ljava/lang/String;

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v1

    if-lez v1, :cond_5

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->f:Ljava/lang/String;

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setDisplayValue(Ljava/lang/String;)V

    goto/16 :goto_2

    :pswitch_e
    new-instance v2, Lcom/waiqin365/lightapp/kehu/view/DistrictSelectView_vertical;

    const/4 v1, 0x0

    invoke-direct {v2, p0, v1}, Lcom/waiqin365/lightapp/kehu/view/DistrictSelectView_vertical;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->s:Ljava/lang/String;

    invoke-virtual {v1, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->u:Ljava/lang/String;

    invoke-virtual {v1, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->t:Ljava/lang/String;

    invoke-virtual {v1, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    const-string/jumbo v1, ""

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->y:Ljava/lang/String;

    if-eqz v1, :cond_d

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->y:Ljava/lang/String;

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->x:Ljava/lang/String;

    invoke-virtual {v1, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_d

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->w:Ljava/lang/String;

    invoke-virtual {v1, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v4, ","

    invoke-virtual {v1, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->x:Ljava/lang/String;

    invoke-virtual {v1, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v4, ","

    invoke-virtual {v1, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->y:Ljava/lang/String;

    invoke-virtual {v1, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    move-object v4, v1

    :goto_5
    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/kehu/view/DistrictSelectView_vertical;

    invoke-virtual {v1, v5}, Lcom/waiqin365/lightapp/kehu/view/DistrictSelectView_vertical;->setDisplayValue(Ljava/lang/String;)V

    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/kehu/view/DistrictSelectView_vertical;

    invoke-virtual {v1, v4}, Lcom/waiqin365/lightapp/kehu/view/DistrictSelectView_vertical;->setOrignalValue(Ljava/lang/String;)V

    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/kehu/view/DistrictSelectView_vertical;

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v5, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->v:Ljava/lang/String;

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string/jumbo v5, ","

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    iget-object v5, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->w:Ljava/lang/String;

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string/jumbo v5, ","

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    iget-object v5, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->x:Ljava/lang/String;

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string/jumbo v5, ","

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    iget-object v5, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->y:Ljava/lang/String;

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v1, v4}, Lcom/waiqin365/lightapp/kehu/view/DistrictSelectView_vertical;->setValue(Ljava/lang/String;)V

    goto/16 :goto_2

    :cond_d
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->w:Ljava/lang/String;

    invoke-virtual {v1, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v4, ","

    invoke-virtual {v1, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->x:Ljava/lang/String;

    invoke-virtual {v1, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v4, ","

    invoke-virtual {v1, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    move-object v4, v1

    goto :goto_5

    :cond_e
    const/4 v1, 0x0

    goto/16 :goto_3

    :cond_f
    const/4 v1, 0x0

    goto/16 :goto_4

    :cond_10
    return-void

    nop

    :pswitch_data_0
    .packed-switch 0x31
        :pswitch_1
        :pswitch_2
        :pswitch_3
        :pswitch_4
        :pswitch_5
        :pswitch_6
        :pswitch_7
        :pswitch_8
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_9
        :pswitch_a
        :pswitch_b
        :pswitch_c
        :pswitch_d
        :pswitch_e
    .end packed-switch
.end method

.method public static a(Landroid/app/Activity;Landroid/widget/LinearLayout;Ljava/util/ArrayList;Ljava/util/HashMap;)V
    .locals 8

    const/4 v5, 0x0

    const/4 v6, 0x0

    if-eqz p2, :cond_4

    move v4, v5

    :goto_0
    invoke-virtual {p2}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v4, v0, :cond_4

    invoke-virtual {p2, v4}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/bd;

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->h:Ljava/lang/String;

    invoke-virtual {p3, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    iget-object v2, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->a:Ljava/lang/String;

    invoke-virtual {v2}, Ljava/lang/String;->toCharArray()[C

    move-result-object v2

    aget-char v2, v2, v5

    sparse-switch v2, :sswitch_data_0

    move-object v3, v6

    :cond_0
    :goto_1
    if-eqz v3, :cond_2

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->h:Ljava/lang/String;

    invoke-virtual {v3, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setCode(Ljava/lang/String;)V

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->g:Ljava/lang/String;

    invoke-virtual {v3, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setLabel(Ljava/lang/CharSequence;)V

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->c:Ljava/lang/String;

    invoke-virtual {v3, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setMustinput(Ljava/lang/String;)V

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->b:Ljava/lang/String;

    invoke-virtual {v3, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setMaxlen(Ljava/lang/String;)V

    const-string/jumbo v1, "1"

    iget-boolean v0, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->n:Z

    invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v0

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    invoke-virtual {v3, v0}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setViewIgnore(Z)V

    invoke-virtual {p2}, Ljava/util/ArrayList;->size()I

    move-result v0

    add-int/lit8 v0, v0, -0x1

    if-ne v4, v0, :cond_1

    invoke-virtual {v3, v5}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setBottomLineStatus(Z)V

    :cond_1
    invoke-virtual {p1, v3}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    :cond_2
    add-int/lit8 v0, v4, 0x1

    move v4, v0

    goto :goto_0

    :sswitch_0
    new-instance v3, Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;

    invoke-direct {v3, p0, v6}, Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-nez v2, :cond_0

    invoke-virtual {v3, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setValue(Ljava/lang/String;)V

    goto :goto_1

    :sswitch_1
    new-instance v3, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;

    invoke-direct {v3, p0, v6}, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-nez v2, :cond_0

    invoke-virtual {v3, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setValue(Ljava/lang/String;)V

    goto :goto_1

    :sswitch_2
    iput-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    const-string/jumbo v1, "#@#"

    invoke-static {p0, v0, v5, v1}, Lcom/waiqin365/lightapp/kehu/c/b;->a(Landroid/content/Context;Lcom/waiqin365/lightapp/kehu/b/bd;ZLjava/lang/String;)Lcom/waiqin365/lightapp/kehu/view/CMCustomView;

    move-result-object v3

    goto :goto_1

    :sswitch_3
    new-instance v3, Lcom/waiqin365/lightapp/view/DateViewHasClear_vertical;

    invoke-direct {v3, p0, v6}, Lcom/waiqin365/lightapp/view/DateViewHasClear_vertical;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    move-object v2, v3

    check-cast v2, Lcom/waiqin365/lightapp/view/DateViewHasClear_vertical;

    invoke-virtual {v2, v5}, Lcom/waiqin365/lightapp/view/DateViewHasClear_vertical;->setType(I)V

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-nez v2, :cond_0

    invoke-virtual {v3, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setValue(Ljava/lang/String;)V

    goto :goto_1

    :sswitch_4
    new-instance v3, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    invoke-direct {v3, p0, v6}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    move-object v2, v3

    check-cast v2, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    iget-object v7, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->o:Ljava/lang/String;

    invoke-virtual {v2, v7}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setPicUrl(Ljava/lang/String;)V

    move-object v2, v3

    check-cast v2, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    iget v7, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->j:I

    invoke-virtual {v2, v7}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setPwidth(I)V

    move-object v2, v3

    check-cast v2, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    iget v7, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->i:I

    invoke-virtual {v2, v7}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setMaxPic(I)V

    move-object v2, v3

    check-cast v2, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    iget-boolean v7, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->k:Z

    invoke-virtual {v2, v7}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setAllowSelect(Z)V

    move-object v2, v3

    check-cast v2, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    const v7, 0x7f0800bc

    invoke-virtual {p0, v7}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v7

    invoke-virtual {v2, v7}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setPhotoType(Ljava/lang/String;)V

    move-object v2, v3

    check-cast v2, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    new-instance v7, Lcom/waiqin365/lightapp/kehu/c/e;

    invoke-direct {v7}, Lcom/waiqin365/lightapp/kehu/c/e;-><init>()V

    invoke-virtual {v2, v7}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setDispathTouchEventListener(Lcom/waiqin365/lightapp/view/fo;)V

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-eqz v2, :cond_3

    const/16 v1, 0x8

    invoke-virtual {v3, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setVisibility(I)V

    move-object v3, v6

    goto/16 :goto_1

    :cond_3
    invoke-virtual {v3, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setValue(Ljava/lang/String;)V

    goto/16 :goto_1

    :sswitch_5
    new-instance v3, Lcom/waiqin365/lightapp/kehu/view/NumberTextView_vertical;

    invoke-direct {v3, p0, v6}, Lcom/waiqin365/lightapp/kehu/view/NumberTextView_vertical;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-nez v2, :cond_0

    invoke-virtual {v3, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setValue(Ljava/lang/String;)V

    goto/16 :goto_1

    :sswitch_6
    iput-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    const/4 v1, 0x1

    const-string/jumbo v2, "#@#"

    invoke-static {p0, v0, v1, v2}, Lcom/waiqin365/lightapp/kehu/c/b;->a(Landroid/content/Context;Lcom/waiqin365/lightapp/kehu/b/bd;ZLjava/lang/String;)Lcom/waiqin365/lightapp/kehu/view/CMCustomView;

    move-result-object v3

    goto/16 :goto_1

    :sswitch_7
    new-instance v3, Lcom/waiqin365/lightapp/kehu/view/CMStoreRoleSelectView_vertical;

    invoke-direct {v3, p0, v6}, Lcom/waiqin365/lightapp/kehu/view/CMStoreRoleSelectView_vertical;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    move-object v2, v3

    check-cast v2, Lcom/waiqin365/lightapp/kehu/view/CMStoreRoleSelectView_vertical;

    iget-object v7, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->d:Ljava/lang/String;

    invoke-virtual {v2, v7}, Lcom/waiqin365/lightapp/kehu/view/CMStoreRoleSelectView_vertical;->setValueItems(Ljava/lang/String;)V

    invoke-virtual {v3, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setValue(Ljava/lang/String;)V

    const-string/jumbo v1, "storeRole"

    invoke-virtual {v3, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setTag(Ljava/lang/Object;)V

    goto/16 :goto_1

    :cond_4
    return-void

    nop

    :sswitch_data_0
    .sparse-switch
        0x31 -> :sswitch_0
        0x32 -> :sswitch_1
        0x33 -> :sswitch_2
        0x34 -> :sswitch_2
        0x35 -> :sswitch_3
        0x36 -> :sswitch_4
        0x37 -> :sswitch_5
        0x38 -> :sswitch_6
        0x47 -> :sswitch_7
    .end sparse-switch
.end method

.method public static a(Landroid/app/Activity;Landroid/widget/LinearLayout;Ljava/util/ArrayList;ZLandroid/view/View;Landroid/view/View;Landroid/view/View;Landroid/view/View;Landroid/view/View;)V
    .locals 5

    if-eqz p2, :cond_11

    const/4 v0, 0x0

    move v3, v0

    :goto_0
    invoke-virtual {p2}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v3, v0, :cond_11

    const/4 v2, 0x0

    invoke-virtual {p2, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/bd;

    const-string/jumbo v1, "name"

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->h:Ljava/lang/String;

    invoke-virtual {v1, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_1

    if-eqz p4, :cond_0

    invoke-virtual {p4}, Landroid/view/View;->getParent()Landroid/view/ViewParent;

    move-result-object v0

    if-nez v0, :cond_0

    invoke-virtual {p1, p4}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    :cond_0
    :goto_1
    add-int/lit8 v0, v3, 0x1

    move v3, v0

    goto :goto_0

    :cond_1
    const-string/jumbo v1, "type_id"

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->h:Ljava/lang/String;

    invoke-virtual {v1, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_2

    if-eqz p5, :cond_0

    invoke-virtual {p5}, Landroid/view/View;->getParent()Landroid/view/ViewParent;

    move-result-object v0

    if-nez v0, :cond_0

    invoke-virtual {p1, p5}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    goto :goto_1

    :cond_2
    const-string/jumbo v1, "district_id"

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->h:Ljava/lang/String;

    invoke-virtual {v1, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_3

    if-eqz p6, :cond_0

    invoke-virtual {p6}, Landroid/view/View;->getParent()Landroid/view/ViewParent;

    move-result-object v0

    if-nez v0, :cond_0

    invoke-virtual {p1, p6}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    goto :goto_1

    :cond_3
    const-string/jumbo v1, "location_c"

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->h:Ljava/lang/String;

    invoke-virtual {v1, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_4

    if-eqz p7, :cond_0

    invoke-virtual {p7}, Landroid/view/View;->getParent()Landroid/view/ViewParent;

    move-result-object v0

    if-nez v0, :cond_0

    invoke-virtual {p1, p7}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    goto :goto_1

    :cond_4
    const-string/jumbo v1, "addr"

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->h:Ljava/lang/String;

    invoke-virtual {v1, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_5

    if-eqz p8, :cond_0

    invoke-virtual {p8}, Landroid/view/View;->getParent()Landroid/view/ViewParent;

    move-result-object v0

    if-nez v0, :cond_0

    invoke-virtual {p1, p8}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    goto :goto_1

    :cond_5
    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->a:Ljava/lang/String;

    invoke-virtual {v1}, Ljava/lang/String;->toCharArray()[C

    move-result-object v1

    const/4 v4, 0x0

    aget-char v1, v1, v4

    packed-switch v1, :pswitch_data_0

    :cond_6
    :goto_2
    :pswitch_0
    if-eqz v2, :cond_0

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->B:Ljava/lang/String;

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_e

    const/4 v1, 0x1

    :goto_3
    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->a(Z)V

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->B:Ljava/lang/String;

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setDescription(Ljava/lang/String;)V

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->h:Ljava/lang/String;

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setCode(Ljava/lang/String;)V

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->g:Ljava/lang/String;

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setLabel(Ljava/lang/CharSequence;)V

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->c:Ljava/lang/String;

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setMustinput(Ljava/lang/String;)V

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->b:Ljava/lang/String;

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setMaxlen(Ljava/lang/String;)V

    iget-boolean v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->m:Z

    if-nez v1, :cond_f

    const/4 v1, 0x1

    :goto_4
    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setEdit(Z)V

    iget-boolean v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->n:Z

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setViewIgnore(Z)V

    instance-of v1, v2, Lcom/waiqin365/lightapp/kehu/view/CustomerShareView_vertical;

    if-eqz v1, :cond_7

    if-eqz p3, :cond_10

    iget-boolean v0, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->n:Z

    if-eqz v0, :cond_10

    const/4 v0, 0x1

    :goto_5
    invoke-virtual {v2, v0}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setViewIgnore(Z)V

    :cond_7
    invoke-virtual {p2}, Ljava/util/ArrayList;->size()I

    move-result v0

    add-int/lit8 v0, v0, -0x1

    if-ne v3, v0, :cond_8

    const/4 v0, 0x0

    invoke-virtual {v2, v0}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setBottomLineStatus(Z)V

    :cond_8
    invoke-virtual {p1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    goto/16 :goto_1

    :pswitch_1
    new-instance v2, Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;

    const/4 v1, 0x0

    invoke-direct {v2, p0, v1}, Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    if-eqz v1, :cond_6

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v1

    if-lez v1, :cond_6

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setValue(Ljava/lang/String;)V

    goto :goto_2

    :pswitch_2
    new-instance v2, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;

    const/4 v1, 0x0

    invoke-direct {v2, p0, v1}, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    if-eqz v1, :cond_6

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v1

    if-lez v1, :cond_6

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setValue(Ljava/lang/String;)V

    goto/16 :goto_2

    :pswitch_3
    new-instance v2, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;

    const/4 v1, 0x0

    invoke-direct {v2, p0, v1}, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    if-eqz v1, :cond_9

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v1

    if-lez v1, :cond_9

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setValue(Ljava/lang/String;)V

    :cond_9
    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->d:Ljava/lang/String;

    if-eqz v1, :cond_6

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->d:Ljava/lang/String;

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v1

    if-lez v1, :cond_6

    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->d:Ljava/lang/String;

    invoke-virtual {v1, v4}, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;->setSelectItem(Ljava/lang/String;)V

    goto/16 :goto_2

    :pswitch_4
    const/4 v1, 0x0

    invoke-static {p0, v0, v1}, Lcom/waiqin365/lightapp/kehu/c/b;->a(Landroid/content/Context;Lcom/waiqin365/lightapp/kehu/b/bd;Z)Lcom/waiqin365/lightapp/kehu/view/CMCustomView;

    move-result-object v2

    goto/16 :goto_2

    :pswitch_5
    new-instance v2, Lcom/waiqin365/lightapp/view/DateViewHasClear_vertical;

    const/4 v1, 0x0

    invoke-direct {v2, p0, v1}, Lcom/waiqin365/lightapp/view/DateViewHasClear_vertical;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/view/DateViewHasClear_vertical;

    const/4 v4, 0x0

    invoke-virtual {v1, v4}, Lcom/waiqin365/lightapp/view/DateViewHasClear_vertical;->setType(I)V

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    if-eqz v1, :cond_6

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v1

    if-lez v1, :cond_6

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setValue(Ljava/lang/String;)V

    goto/16 :goto_2

    :pswitch_6
    new-instance v2, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    const/4 v1, 0x0

    invoke-direct {v2, p0, v1}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->o:Ljava/lang/String;

    invoke-virtual {v1, v4}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setPicUrl(Ljava/lang/String;)V

    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    iget v4, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->j:I

    invoke-virtual {v1, v4}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setPwidth(I)V

    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    iget v4, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->i:I

    invoke-virtual {v1, v4}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setMaxPic(I)V

    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    iget-boolean v4, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->k:Z

    invoke-virtual {v1, v4}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setAllowSelect(Z)V

    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    const v4, 0x7f0800bc

    invoke-virtual {p0, v4}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v1, v4}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setPhotoType(Ljava/lang/String;)V

    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    new-instance v4, Lcom/waiqin365/lightapp/kehu/c/f;

    invoke-direct {v4}, Lcom/waiqin365/lightapp/kehu/c/f;-><init>()V

    invoke-virtual {v1, v4}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setDispathTouchEventListener(Lcom/waiqin365/lightapp/view/fo;)V

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    if-eqz v1, :cond_6

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v1

    if-lez v1, :cond_6

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setValue(Ljava/lang/String;)V

    goto/16 :goto_2

    :pswitch_7
    new-instance v2, Lcom/waiqin365/lightapp/kehu/view/NumberTextView_vertical;

    const/4 v1, 0x0

    invoke-direct {v2, p0, v1}, Lcom/waiqin365/lightapp/kehu/view/NumberTextView_vertical;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    if-eqz v1, :cond_6

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v1

    if-lez v1, :cond_6

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setValue(Ljava/lang/String;)V

    goto/16 :goto_2

    :pswitch_8
    const/4 v1, 0x1

    invoke-static {p0, v0, v1}, Lcom/waiqin365/lightapp/kehu/c/b;->a(Landroid/content/Context;Lcom/waiqin365/lightapp/kehu/b/bd;Z)Lcom/waiqin365/lightapp/kehu/view/CMCustomView;

    move-result-object v2

    goto/16 :goto_2

    :pswitch_9
    new-instance v2, Lcom/waiqin365/lightapp/kehu/view/CMCustomerTypePickerView_vertical;

    const/4 v1, 0x0

    invoke-direct {v2, p0, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomerTypePickerView_vertical;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    if-eqz v1, :cond_a

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v1

    if-lez v1, :cond_a

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setValue(Ljava/lang/String;)V

    :cond_a
    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->f:Ljava/lang/String;

    if-eqz v1, :cond_6

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->f:Ljava/lang/String;

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v1

    if-lez v1, :cond_6

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->f:Ljava/lang/String;

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setDisplayValue(Ljava/lang/String;)V

    goto/16 :goto_2

    :pswitch_a
    new-instance v2, Lcom/waiqin365/lightapp/kehu/view/CustomerareapickerView_vertical;

    const/4 v1, 0x0

    invoke-direct {v2, p0, v1}, Lcom/waiqin365/lightapp/kehu/view/CustomerareapickerView_vertical;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    if-eqz v1, :cond_b

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v1

    if-lez v1, :cond_b

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setValue(Ljava/lang/String;)V

    :cond_b
    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->f:Ljava/lang/String;

    if-eqz v1, :cond_6

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->f:Ljava/lang/String;

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v1

    if-lez v1, :cond_6

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->f:Ljava/lang/String;

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setDisplayValue(Ljava/lang/String;)V

    goto/16 :goto_2

    :pswitch_b
    new-instance v2, Lcom/waiqin365/lightapp/kehu/view/SupercmpickerView_vertical;

    const/4 v1, 0x0

    invoke-direct {v2, p0, v1}, Lcom/waiqin365/lightapp/kehu/view/SupercmpickerView_vertical;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    if-eqz v1, :cond_c

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v1

    if-lez v1, :cond_c

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setValue(Ljava/lang/String;)V

    :cond_c
    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->f:Ljava/lang/String;

    if-eqz v1, :cond_6

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->f:Ljava/lang/String;

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v1

    if-lez v1, :cond_6

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->f:Ljava/lang/String;

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setDisplayValue(Ljava/lang/String;)V

    goto/16 :goto_2

    :pswitch_c
    new-instance v2, Lcom/waiqin365/lightapp/kehu/view/CustomerShareView_vertical;

    const/4 v1, 0x0

    invoke-direct {v2, p0, v1}, Lcom/waiqin365/lightapp/kehu/view/CustomerShareView_vertical;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/kehu/view/CustomerShareView_vertical;

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->q:Ljava/lang/String;

    invoke-virtual {v1, v4}, Lcom/waiqin365/lightapp/kehu/view/CustomerShareView_vertical;->setShareBtnVisible(Ljava/lang/String;)V

    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/kehu/view/CustomerShareView_vertical;

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->l:Ljava/lang/String;

    invoke-virtual {v1, v4}, Lcom/waiqin365/lightapp/kehu/view/CustomerShareView_vertical;->setCmId(Ljava/lang/String;)V

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->f:Ljava/lang/String;

    if-eqz v1, :cond_6

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->f:Ljava/lang/String;

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v1

    if-lez v1, :cond_6

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->f:Ljava/lang/String;

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setValue(Ljava/lang/String;)V

    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/kehu/view/CustomerShareView_vertical;

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    invoke-virtual {v1, v4}, Lcom/waiqin365/lightapp/kehu/view/CustomerShareView_vertical;->setSharedIds(Ljava/lang/String;)V

    goto/16 :goto_2

    :pswitch_d
    new-instance v2, Lcom/waiqin365/lightapp/kehu/view/AgencyView_vertical;

    const/4 v1, 0x0

    invoke-direct {v2, p0, v1}, Lcom/waiqin365/lightapp/kehu/view/AgencyView_vertical;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    if-eqz v1, :cond_d

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v1

    if-lez v1, :cond_d

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setValue(Ljava/lang/String;)V

    :cond_d
    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->f:Ljava/lang/String;

    if-eqz v1, :cond_6

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->f:Ljava/lang/String;

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v1

    if-lez v1, :cond_6

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->f:Ljava/lang/String;

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setDisplayValue(Ljava/lang/String;)V

    goto/16 :goto_2

    :pswitch_e
    new-instance v2, Lcom/waiqin365/lightapp/kehu/view/DistrictSelectView_vertical;

    const/4 v1, 0x0

    invoke-direct {v2, p0, v1}, Lcom/waiqin365/lightapp/kehu/view/DistrictSelectView_vertical;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    goto/16 :goto_2

    :cond_e
    const/4 v1, 0x0

    goto/16 :goto_3

    :cond_f
    const/4 v1, 0x0

    goto/16 :goto_4

    :cond_10
    const/4 v0, 0x0

    goto/16 :goto_5

    :cond_11
    return-void

    nop

    :pswitch_data_0
    .packed-switch 0x31
        :pswitch_1
        :pswitch_2
        :pswitch_3
        :pswitch_4
        :pswitch_5
        :pswitch_6
        :pswitch_7
        :pswitch_8
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_9
        :pswitch_a
        :pswitch_b
        :pswitch_c
        :pswitch_d
        :pswitch_e
    .end packed-switch
.end method

.method public static a(Landroid/app/Activity;Landroid/widget/LinearLayout;Ljava/util/ArrayList;ZLjava/lang/String;Ljava/lang/String;)V
    .locals 7

    const/4 v4, 0x0

    const/4 v5, 0x0

    if-eqz p2, :cond_6

    move v3, v4

    :goto_0
    invoke-virtual {p2}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v3, v0, :cond_6

    invoke-virtual {p2, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/bd;

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->a:Ljava/lang/String;

    invoke-virtual {v1}, Ljava/lang/String;->toCharArray()[C

    move-result-object v1

    aget-char v1, v1, v4

    sparse-switch v1, :sswitch_data_0

    move-object v2, v5

    :cond_0
    :goto_1
    if-eqz v2, :cond_2

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->h:Ljava/lang/String;

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setCode(Ljava/lang/String;)V

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->g:Ljava/lang/String;

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setLabel(Ljava/lang/CharSequence;)V

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->c:Ljava/lang/String;

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setMustinput(Ljava/lang/String;)V

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->b:Ljava/lang/String;

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setMaxlen(Ljava/lang/String;)V

    const-string/jumbo v1, "1"

    iget-boolean v0, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->n:Z

    invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v0

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    invoke-virtual {v2, v0}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setViewIgnore(Z)V

    invoke-virtual {p2}, Ljava/util/ArrayList;->size()I

    move-result v0

    add-int/lit8 v0, v0, -0x1

    if-ne v3, v0, :cond_1

    invoke-virtual {v2, v4}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setBottomLineStatus(Z)V

    :cond_1
    invoke-virtual {p1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    :cond_2
    add-int/lit8 v0, v3, 0x1

    move v3, v0

    goto :goto_0

    :sswitch_0
    new-instance v2, Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;

    invoke-direct {v2, p0, v5}, Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    const-string/jumbo v1, "linkman"

    iget-object v6, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->h:Ljava/lang/String;

    invoke-virtual {v1, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_4

    invoke-static {p4}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_3

    const-string/jumbo v1, " "

    const-string/jumbo v6, ""

    invoke-virtual {p4, v1, v6}, Ljava/lang/String;->replaceAll(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object p4

    invoke-virtual {v2, p4}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setValue(Ljava/lang/String;)V

    :cond_3
    const-string/jumbo v1, "linkman"

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setTag(Ljava/lang/Object;)V

    goto :goto_1

    :cond_4
    const-string/jumbo v1, "linkman_mobile"

    iget-object v6, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->h:Ljava/lang/String;

    invoke-virtual {v1, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    invoke-static {p5}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_5

    const-string/jumbo v1, " "

    const-string/jumbo v6, ""

    invoke-virtual {p5, v1, v6}, Ljava/lang/String;->replaceAll(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object p5

    invoke-virtual {v2, p5}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setValue(Ljava/lang/String;)V

    :cond_5
    const-string/jumbo v1, "linkman_mobile"

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setTag(Ljava/lang/Object;)V

    goto/16 :goto_1

    :sswitch_1
    new-instance v2, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;

    invoke-direct {v2, p0, v5}, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    goto/16 :goto_1

    :sswitch_2
    const-string/jumbo v1, "#@#"

    invoke-static {p0, v0, v4, v1}, Lcom/waiqin365/lightapp/kehu/c/b;->a(Landroid/content/Context;Lcom/waiqin365/lightapp/kehu/b/bd;ZLjava/lang/String;)Lcom/waiqin365/lightapp/kehu/view/CMCustomView;

    move-result-object v2

    goto/16 :goto_1

    :sswitch_3
    const-string/jumbo v1, "#@#"

    invoke-static {p0, v0, v4, v1}, Lcom/waiqin365/lightapp/kehu/c/b;->a(Landroid/content/Context;Lcom/waiqin365/lightapp/kehu/b/bd;ZLjava/lang/String;)Lcom/waiqin365/lightapp/kehu/view/CMCustomView;

    move-result-object v2

    goto/16 :goto_1

    :sswitch_4
    new-instance v2, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;

    invoke-direct {v2, p0}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;-><init>(Landroid/content/Context;)V

    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;

    invoke-virtual {v1, v5}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->setDate(Ljava/util/Date;)V

    goto/16 :goto_1

    :sswitch_5
    new-instance v2, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    invoke-direct {v2, p0, v5}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    iget-object v6, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->o:Ljava/lang/String;

    invoke-virtual {v1, v6}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setPicUrl(Ljava/lang/String;)V

    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    iget v6, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->j:I

    invoke-virtual {v1, v6}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setPwidth(I)V

    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    iget v6, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->i:I

    invoke-virtual {v1, v6}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setMaxPic(I)V

    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    iget-boolean v6, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->k:Z

    invoke-virtual {v1, v6}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setAllowSelect(Z)V

    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    const v6, 0x7f0800bc

    invoke-virtual {p0, v6}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v1, v6}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setPhotoType(Ljava/lang/String;)V

    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    new-instance v6, Lcom/waiqin365/lightapp/kehu/c/d;

    invoke-direct {v6}, Lcom/waiqin365/lightapp/kehu/c/d;-><init>()V

    invoke-virtual {v1, v6}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setDispathTouchEventListener(Lcom/waiqin365/lightapp/view/fo;)V

    goto/16 :goto_1

    :sswitch_6
    new-instance v2, Lcom/waiqin365/lightapp/kehu/view/NumberTextView_vertical;

    invoke-direct {v2, p0, v5}, Lcom/waiqin365/lightapp/kehu/view/NumberTextView_vertical;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    goto/16 :goto_1

    :sswitch_7
    const/4 v1, 0x1

    const-string/jumbo v2, "#@#"

    invoke-static {p0, v0, v1, v2}, Lcom/waiqin365/lightapp/kehu/c/b;->a(Landroid/content/Context;Lcom/waiqin365/lightapp/kehu/b/bd;ZLjava/lang/String;)Lcom/waiqin365/lightapp/kehu/view/CMCustomView;

    move-result-object v2

    goto/16 :goto_1

    :sswitch_8
    new-instance v2, Lcom/waiqin365/lightapp/kehu/view/CMStoreRoleSelectView_vertical;

    invoke-direct {v2, p0, v5}, Lcom/waiqin365/lightapp/kehu/view/CMStoreRoleSelectView_vertical;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/kehu/view/CMStoreRoleSelectView_vertical;

    iget-object v6, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->d:Ljava/lang/String;

    invoke-virtual {v1, v6}, Lcom/waiqin365/lightapp/kehu/view/CMStoreRoleSelectView_vertical;->setValueItems(Ljava/lang/String;)V

    const-string/jumbo v1, "storeRole"

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setTag(Ljava/lang/Object;)V

    goto/16 :goto_1

    :cond_6
    return-void

    nop

    :sswitch_data_0
    .sparse-switch
        0x31 -> :sswitch_0
        0x32 -> :sswitch_1
        0x33 -> :sswitch_2
        0x34 -> :sswitch_3
        0x35 -> :sswitch_4
        0x36 -> :sswitch_5
        0x37 -> :sswitch_6
        0x38 -> :sswitch_7
        0x47 -> :sswitch_8
    .end sparse-switch
.end method

.method public static a(Landroid/app/Activity;Landroid/widget/LinearLayout;Ljava/util/ArrayList;ZZ)V
    .locals 8

    const/4 v5, 0x0

    const/4 v4, 0x0

    const/16 v7, 0x8

    const-string/jumbo v0, ""

    if-eqz p2, :cond_13

    move v3, v4

    :goto_0
    invoke-virtual {p2}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v3, v0, :cond_13

    invoke-virtual {p2, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/bd;

    const-string/jumbo v1, "return_reason"

    iget-object v2, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->h:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_1

    :cond_0
    :goto_1
    add-int/lit8 v0, v3, 0x1

    move v3, v0

    goto :goto_0

    :cond_1
    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->a:Ljava/lang/String;

    invoke-virtual {v1}, Ljava/lang/String;->toCharArray()[C

    move-result-object v1

    aget-char v1, v1, v4

    packed-switch v1, :pswitch_data_0

    :pswitch_0
    new-instance v2, Lcom/waiqin365/lightapp/view/LabelView_vertical;

    invoke-direct {v2, p0}, Lcom/waiqin365/lightapp/view/LabelView_vertical;-><init>(Landroid/content/Context;)V

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    if-eqz v1, :cond_11

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v1

    if-lez v1, :cond_11

    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/view/LabelView_vertical;

    iget-object v6, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    invoke-virtual {v1, v6}, Lcom/waiqin365/lightapp/view/LabelView_vertical;->setContent(Ljava/lang/String;)V

    :goto_2
    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->f:Ljava/lang/String;

    if-eqz v1, :cond_2

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->f:Ljava/lang/String;

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v1

    if-lez v1, :cond_2

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->f:Ljava/lang/String;

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setDisplayValue(Ljava/lang/String;)V

    :cond_2
    move-object v1, v2

    :goto_3
    if-eqz v1, :cond_0

    iget-object v2, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->h:Ljava/lang/String;

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setCode(Ljava/lang/String;)V

    iget-object v2, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->g:Ljava/lang/String;

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setLabel(Ljava/lang/CharSequence;)V

    const-string/jumbo v2, "0"

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setMustinput(Ljava/lang/String;)V

    iget-object v2, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->b:Ljava/lang/String;

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setMaxlen(Ljava/lang/String;)V

    if-nez p3, :cond_12

    iget-boolean v0, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->m:Z

    if-nez v0, :cond_12

    const/4 v0, 0x1

    :goto_4
    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setEdit(Z)V

    instance-of v0, v1, Lcom/waiqin365/lightapp/view/LabelView_vertical;

    if-eqz v0, :cond_3

    move-object v0, v1

    check-cast v0, Lcom/waiqin365/lightapp/view/LabelView_vertical;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/LabelView_vertical;->setBottomShort()V

    :cond_3
    invoke-virtual {p2}, Ljava/util/ArrayList;->size()I

    move-result v0

    add-int/lit8 v0, v0, -0x1

    if-ne v3, v0, :cond_4

    invoke-virtual {v1, v4}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setBottomLineStatus(Z)V

    :cond_4
    invoke-virtual {v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->getVisibility()I

    move-result v0

    if-eq v0, v7, :cond_0

    invoke-virtual {p1, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    goto :goto_1

    :pswitch_1
    const-string/jumbo v1, "name"

    iget-object v2, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->h:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_6

    new-instance v2, Lcom/waiqin365/lightapp/view/CreditLabelViewV;

    invoke-direct {v2, p0}, Lcom/waiqin365/lightapp/view/CreditLabelViewV;-><init>(Landroid/content/Context;)V

    const-string/jumbo v1, "credit"

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setTag(Ljava/lang/Object;)V

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_5

    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/view/CreditLabelViewV;

    iget-object v6, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    invoke-virtual {v1, v6}, Lcom/waiqin365/lightapp/view/CreditLabelViewV;->setContent(Ljava/lang/String;)V

    move-object v1, v2

    goto :goto_3

    :cond_5
    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/view/CreditLabelViewV;

    const-string/jumbo v6, ""

    invoke-virtual {v1, v6}, Lcom/waiqin365/lightapp/view/CreditLabelViewV;->setContent(Ljava/lang/String;)V

    invoke-virtual {v2, v7}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setVisibility(I)V

    move-object v1, v2

    goto :goto_3

    :cond_6
    const-string/jumbo v1, "location"

    iget-object v2, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->h:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_8

    if-eqz p4, :cond_14

    new-instance v2, Lcom/waiqin365/lightapp/view/LabelView_vertical;

    invoke-direct {v2, p0}, Lcom/waiqin365/lightapp/view/LabelView_vertical;-><init>(Landroid/content/Context;)V

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->p:Ljava/lang/String;

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_7

    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/view/LabelView_vertical;

    iget-object v6, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->p:Ljava/lang/String;

    invoke-virtual {v1, v6}, Lcom/waiqin365/lightapp/view/LabelView_vertical;->setContent(Ljava/lang/String;)V

    move-object v1, v2

    goto/16 :goto_3

    :cond_7
    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/view/LabelView_vertical;

    const-string/jumbo v6, ""

    invoke-virtual {v1, v6}, Lcom/waiqin365/lightapp/view/LabelView_vertical;->setContent(Ljava/lang/String;)V

    invoke-virtual {v2, v7}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setVisibility(I)V

    move-object v1, v2

    goto/16 :goto_3

    :cond_8
    new-instance v2, Lcom/waiqin365/lightapp/view/LabelView_vertical;

    invoke-direct {v2, p0}, Lcom/waiqin365/lightapp/view/LabelView_vertical;-><init>(Landroid/content/Context;)V

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_9

    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/view/LabelView_vertical;

    iget-object v6, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    invoke-virtual {v1, v6}, Lcom/waiqin365/lightapp/view/LabelView_vertical;->setContent(Ljava/lang/String;)V

    move-object v1, v2

    goto/16 :goto_3

    :cond_9
    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/view/LabelView_vertical;

    const-string/jumbo v6, ""

    invoke-virtual {v1, v6}, Lcom/waiqin365/lightapp/view/LabelView_vertical;->setContent(Ljava/lang/String;)V

    invoke-virtual {v2, v7}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setVisibility(I)V

    move-object v1, v2

    goto/16 :goto_3

    :pswitch_2
    new-instance v2, Lcom/waiqin365/lightapp/view/LabelView_vertical;

    invoke-direct {v2, p0}, Lcom/waiqin365/lightapp/view/LabelView_vertical;-><init>(Landroid/content/Context;)V

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_a

    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/view/LabelView_vertical;

    iget-object v6, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    invoke-virtual {v1, v6}, Lcom/waiqin365/lightapp/view/LabelView_vertical;->setContent(Ljava/lang/String;)V

    move-object v1, v2

    goto/16 :goto_3

    :cond_a
    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/view/LabelView_vertical;

    const-string/jumbo v6, ""

    invoke-virtual {v1, v6}, Lcom/waiqin365/lightapp/view/LabelView_vertical;->setContent(Ljava/lang/String;)V

    invoke-virtual {v2, v7}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setVisibility(I)V

    move-object v1, v2

    goto/16 :goto_3

    :pswitch_3
    new-instance v2, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    invoke-direct {v2, p0, v5}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->o:Ljava/lang/String;

    if-eqz v1, :cond_d

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->o:Ljava/lang/String;

    invoke-virtual {v1}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v1

    if-lez v1, :cond_d

    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    iget-object v6, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->o:Ljava/lang/String;

    invoke-virtual {v1, v6}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setPicUrl(Ljava/lang/String;)V

    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    iget v6, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->j:I

    invoke-virtual {v1, v6}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setPwidth(I)V

    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    iget v6, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->i:I

    invoke-virtual {v1, v6}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setMaxPic(I)V

    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    iget-boolean v6, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->k:Z

    invoke-virtual {v1, v6}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setAllowSelect(Z)V

    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    const v6, 0x7f0800bc

    invoke-virtual {p0, v6}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v1, v6}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setPhotoType(Ljava/lang/String;)V

    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    const/16 v6, 0xe

    invoke-virtual {v1, v6}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setTitleSize(I)V

    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    new-instance v6, Lcom/waiqin365/lightapp/kehu/c/i;

    invoke-direct {v6}, Lcom/waiqin365/lightapp/kehu/c/i;-><init>()V

    invoke-virtual {v1, v6}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setDispathTouchEventListener(Lcom/waiqin365/lightapp/view/fo;)V

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    if-eqz v1, :cond_b

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    invoke-virtual {v1}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v1

    if-gtz v1, :cond_c

    :cond_b
    invoke-virtual {v2, v7}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setVisibility(I)V

    move-object v1, v5

    goto/16 :goto_3

    :cond_c
    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setValue(Ljava/lang/String;)V

    move-object v1, v2

    goto/16 :goto_3

    :cond_d
    invoke-virtual {v2, v7}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setVisibility(I)V

    move-object v1, v2

    goto/16 :goto_3

    :pswitch_4
    new-instance v2, Lcom/waiqin365/lightapp/kehu/view/AttachPreviewView_vertical;

    invoke-direct {v2, p0, v5}, Lcom/waiqin365/lightapp/kehu/view/AttachPreviewView_vertical;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->C:Ljava/lang/String;

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_e

    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/kehu/view/AttachPreviewView_vertical;

    iget-object v6, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->C:Ljava/lang/String;

    invoke-virtual {v1, v6}, Lcom/waiqin365/lightapp/kehu/view/AttachPreviewView_vertical;->setCusFormValueByCM(Ljava/lang/String;)V

    move-object v1, v2

    goto/16 :goto_3

    :cond_e
    invoke-virtual {v2, v7}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setVisibility(I)V

    move-object v1, v2

    goto/16 :goto_3

    :pswitch_5
    new-instance v2, Lcom/waiqin365/lightapp/view/LabelView_vertical;

    invoke-direct {v2, p0}, Lcom/waiqin365/lightapp/view/LabelView_vertical;-><init>(Landroid/content/Context;)V

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->f:Ljava/lang/String;

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_f

    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/view/LabelView_vertical;

    iget-object v6, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->f:Ljava/lang/String;

    invoke-virtual {v1, v6}, Lcom/waiqin365/lightapp/view/LabelView_vertical;->setContent(Ljava/lang/String;)V

    move-object v1, v2

    goto/16 :goto_3

    :cond_f
    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/view/LabelView_vertical;

    const-string/jumbo v6, ""

    invoke-virtual {v1, v6}, Lcom/waiqin365/lightapp/view/LabelView_vertical;->setContent(Ljava/lang/String;)V

    invoke-virtual {v2, v7}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setVisibility(I)V

    move-object v1, v2

    goto/16 :goto_3

    :pswitch_6
    new-instance v2, Lcom/waiqin365/lightapp/view/LabelView_vertical;

    invoke-direct {v2, p0}, Lcom/waiqin365/lightapp/view/LabelView_vertical;-><init>(Landroid/content/Context;)V

    iget-object v6, v0, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    invoke-static {v6}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_10

    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/view/LabelView_vertical;

    invoke-virtual {v1, v6}, Lcom/waiqin365/lightapp/view/LabelView_vertical;->setContent(Ljava/lang/String;)V

    move-object v1, v2

    goto/16 :goto_3

    :cond_10
    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/view/LabelView_vertical;

    const-string/jumbo v6, ""

    invoke-virtual {v1, v6}, Lcom/waiqin365/lightapp/view/LabelView_vertical;->setContent(Ljava/lang/String;)V

    invoke-virtual {v2, v7}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setVisibility(I)V

    move-object v1, v2

    goto/16 :goto_3

    :cond_11
    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/view/LabelView_vertical;

    const-string/jumbo v6, ""

    invoke-virtual {v1, v6}, Lcom/waiqin365/lightapp/view/LabelView_vertical;->setContent(Ljava/lang/String;)V

    invoke-virtual {v2, v7}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setVisibility(I)V

    goto/16 :goto_2

    :cond_12
    move v0, v4

    goto/16 :goto_4

    :cond_13
    return-void

    :cond_14
    move-object v1, v5

    goto/16 :goto_3

    nop

    :pswitch_data_0
    .packed-switch 0x31
        :pswitch_1
        :pswitch_2
        :pswitch_2
        :pswitch_2
        :pswitch_2
        :pswitch_3
        :pswitch_2
        :pswitch_2
        :pswitch_4
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_5
        :pswitch_5
        :pswitch_5
        :pswitch_5
        :pswitch_5
        :pswitch_6
    .end packed-switch
.end method

.method public static a(Landroid/content/Context;Landroid/widget/LinearLayout;Ljava/util/ArrayList;Ljava/lang/String;Z)V
    .locals 9

    const v8, 0x7f080595

    const/4 v5, 0x0

    const/4 v7, 0x1

    const/4 v3, 0x0

    move v4, v5

    :goto_0
    if-eqz p2, :cond_6

    invoke-virtual {p2}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v4, v0, :cond_6

    invoke-virtual {p2, v4}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/bl;

    const-string/jumbo v1, "cooperate_status"

    iget-object v2, v0, Lcom/waiqin365/lightapp/kehu/b/bl;->e:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_2

    invoke-static {p0, v0}, Lcom/waiqin365/lightapp/kehu/c/b;->a(Landroid/content/Context;Lcom/waiqin365/lightapp/kehu/b/bl;)Lcom/waiqin365/lightapp/kehu/view/CMCustomView;

    move-result-object v2

    :cond_0
    :goto_1
    if-eqz v2, :cond_1

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bl;->e:Ljava/lang/String;

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setCode(Ljava/lang/String;)V

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/b/bl;->d:Ljava/lang/String;

    invoke-virtual {v2, v0}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setLabel(Ljava/lang/CharSequence;)V

    invoke-virtual {p1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    :cond_1
    add-int/lit8 v0, v4, 0x1

    move v4, v0

    goto :goto_0

    :cond_2
    const-string/jumbo v1, "location_status"

    iget-object v2, v0, Lcom/waiqin365/lightapp/kehu/b/bl;->e:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_3

    new-instance v2, Lcom/waiqin365/lightapp/kehu/view/CustomerMarkStatusView_vertical;

    invoke-direct {v2, p0, v3}, Lcom/waiqin365/lightapp/kehu/view/CustomerMarkStatusView_vertical;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/kehu/view/CustomerMarkStatusView_vertical;

    invoke-virtual {v1, v7}, Lcom/waiqin365/lightapp/kehu/view/CustomerMarkStatusView_vertical;->setWindowMode(Z)V

    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/kehu/view/CustomerMarkStatusView_vertical;

    invoke-virtual {p0, v8}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v1, v6}, Lcom/waiqin365/lightapp/kehu/view/CustomerMarkStatusView_vertical;->setHint(Ljava/lang/String;)V

    goto :goto_1

    :cond_3
    const-string/jumbo v1, "approval_status"

    iget-object v2, v0, Lcom/waiqin365/lightapp/kehu/b/bl;->e:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_4

    new-instance v2, Lcom/waiqin365/lightapp/kehu/view/CustomerApprovalStatusView_vertical;

    invoke-direct {v2, p0, v3}, Lcom/waiqin365/lightapp/kehu/view/CustomerApprovalStatusView_vertical;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/kehu/view/CustomerApprovalStatusView_vertical;

    invoke-virtual {v1, v7}, Lcom/waiqin365/lightapp/kehu/view/CustomerApprovalStatusView_vertical;->setWindowMode(Z)V

    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/kehu/view/CustomerApprovalStatusView_vertical;

    invoke-virtual {p0, v8}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v1, v6}, Lcom/waiqin365/lightapp/kehu/view/CustomerApprovalStatusView_vertical;->setHint(Ljava/lang/String;)V

    goto :goto_1

    :cond_4
    const-string/jumbo v1, "pro_city_area"

    iget-object v2, v0, Lcom/waiqin365/lightapp/kehu/b/bl;->e:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_5

    new-instance v2, Lcom/waiqin365/lightapp/kehu/view/DistrictSelectView_vertical;

    invoke-direct {v2, p0, v3}, Lcom/waiqin365/lightapp/kehu/view/DistrictSelectView_vertical;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/kehu/view/DistrictSelectView_vertical;

    invoke-virtual {v1, v5}, Lcom/waiqin365/lightapp/kehu/view/DistrictSelectView_vertical;->setCountryViewVisibility(Z)V

    goto :goto_1

    :cond_5
    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bl;->a:Ljava/lang/String;

    invoke-virtual {v1}, Ljava/lang/String;->toCharArray()[C

    move-result-object v1

    aget-char v1, v1, v5

    packed-switch v1, :pswitch_data_0

    :pswitch_0
    move-object v2, v3

    goto :goto_1

    :pswitch_1
    new-instance v2, Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;

    invoke-direct {v2, p0, v3}, Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    goto :goto_1

    :pswitch_2
    new-instance v2, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;

    invoke-direct {v2, p0, v3}, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    goto/16 :goto_1

    :pswitch_3
    new-instance v2, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;

    invoke-direct {v2, p0, v3}, Lcom/waiqin365/lightapp/kehu/view/RadioTextView_vertical;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    goto/16 :goto_1

    :pswitch_4
    invoke-static {p0, v0, v5}, Lcom/waiqin365/lightapp/kehu/c/b;->a(Landroid/content/Context;Lcom/waiqin365/lightapp/kehu/b/bl;Z)Lcom/waiqin365/lightapp/kehu/view/CMCustomView;

    move-result-object v2

    goto/16 :goto_1

    :pswitch_5
    new-instance v2, Lcom/waiqin365/lightapp/kehu/view/CMTimeRangePickerView_vertical;

    invoke-direct {v2, p0, v3}, Lcom/waiqin365/lightapp/kehu/view/CMTimeRangePickerView_vertical;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    goto/16 :goto_1

    :pswitch_6
    move-object v2, v3

    goto/16 :goto_1

    :pswitch_7
    new-instance v2, Lcom/waiqin365/lightapp/kehu/view/NumberTextView_vertical;

    invoke-direct {v2, p0, v3}, Lcom/waiqin365/lightapp/kehu/view/NumberTextView_vertical;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    goto/16 :goto_1

    :pswitch_8
    invoke-static {p0, v0, v7}, Lcom/waiqin365/lightapp/kehu/c/b;->a(Landroid/content/Context;Lcom/waiqin365/lightapp/kehu/b/bl;Z)Lcom/waiqin365/lightapp/kehu/view/CMCustomView;

    move-result-object v2

    goto/16 :goto_1

    :pswitch_9
    invoke-static {p0, v0}, Lcom/waiqin365/lightapp/kehu/c/b;->a(Landroid/content/Context;Lcom/waiqin365/lightapp/kehu/b/bl;)Lcom/waiqin365/lightapp/kehu/view/CMCustomView;

    move-result-object v2

    if-eqz v2, :cond_0

    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/view/BaseSelectViewNew_vertical;

    invoke-virtual {v1, v7}, Lcom/waiqin365/lightapp/view/BaseSelectViewNew_vertical;->d(Z)V

    goto/16 :goto_1

    :pswitch_a
    new-instance v2, Lcom/waiqin365/lightapp/kehu/view/CMCustomerTypePickerView_vertical;

    invoke-direct {v2, p0, v3}, Lcom/waiqin365/lightapp/kehu/view/CMCustomerTypePickerView_vertical;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/kehu/view/CMCustomerTypePickerView_vertical;

    invoke-virtual {p0, v8}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v1, v6}, Lcom/waiqin365/lightapp/kehu/view/CMCustomerTypePickerView_vertical;->setHint(Ljava/lang/String;)V

    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/kehu/view/CMCustomerTypePickerView_vertical;

    const-string/jumbo v6, "0"

    invoke-virtual {v1, v6}, Lcom/waiqin365/lightapp/kehu/view/CMCustomerTypePickerView_vertical;->setLeafNodeOnly(Ljava/lang/String;)V

    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/kehu/view/CMCustomerTypePickerView_vertical;

    invoke-virtual {v1, v7}, Lcom/waiqin365/lightapp/kehu/view/CMCustomerTypePickerView_vertical;->setWindowMode(Z)V

    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/kehu/view/CMCustomerTypePickerView_vertical;

    invoke-virtual {v1, p3}, Lcom/waiqin365/lightapp/kehu/view/CMCustomerTypePickerView_vertical;->setTradeType(Ljava/lang/String;)V

    goto/16 :goto_1

    :pswitch_b
    new-instance v2, Lcom/waiqin365/lightapp/kehu/view/CustomerareapickerView_vertical;

    invoke-direct {v2, p0, v3}, Lcom/waiqin365/lightapp/kehu/view/CustomerareapickerView_vertical;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/kehu/view/CustomerareapickerView_vertical;

    const-string/jumbo v6, ""

    invoke-virtual {v1, v6}, Lcom/waiqin365/lightapp/kehu/view/CustomerareapickerView_vertical;->setFirstItemName(Ljava/lang/String;)V

    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/kehu/view/CustomerareapickerView_vertical;

    invoke-virtual {p0, v8}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v1, v6}, Lcom/waiqin365/lightapp/kehu/view/CustomerareapickerView_vertical;->setHint(Ljava/lang/String;)V

    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/kehu/view/CustomerareapickerView_vertical;

    const-string/jumbo v6, "0"

    invoke-virtual {v1, v6}, Lcom/waiqin365/lightapp/kehu/view/CustomerareapickerView_vertical;->setLeafNodeOnly(Ljava/lang/String;)V

    move-object v1, v2

    check-cast v1, Lcom/waiqin365/lightapp/kehu/view/CustomerareapickerView_vertical;

    invoke-virtual {v1, v7}, Lcom/waiqin365/lightapp/kehu/view/CustomerareapickerView_vertical;->setWindowMode(Z)V

    goto/16 :goto_1

    :pswitch_c
    new-instance v2, Lcom/waiqin365/lightapp/kehu/view/SupercmpickerView_vertical;

    invoke-direct {v2, p0, v3}, Lcom/waiqin365/lightapp/kehu/view/SupercmpickerView_vertical;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    goto/16 :goto_1

    :pswitch_d
    new-instance v2, Lcom/waiqin365/lightapp/view/EmployeeSelectMult_vertical;

    invoke-direct {v2, p0, v3}, Lcom/waiqin365/lightapp/view/EmployeeSelectMult_vertical;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    goto/16 :goto_1

    :pswitch_e
    new-instance v2, Lcom/waiqin365/lightapp/kehu/view/AgencyView_vertical;

    invoke-direct {v2, p0, v3}, Lcom/waiqin365/lightapp/kehu/view/AgencyView_vertical;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    goto/16 :goto_1

    :cond_6
    return-void

    nop

    :pswitch_data_0
    .packed-switch 0x31
        :pswitch_1
        :pswitch_2
        :pswitch_3
        :pswitch_4
        :pswitch_5
        :pswitch_6
        :pswitch_7
        :pswitch_8
        :pswitch_9
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_a
        :pswitch_b
        :pswitch_c
        :pswitch_d
        :pswitch_e
    .end packed-switch
.end method

.method static synthetic a(Landroid/content/Context;ZLcom/waiqin365/lightapp/kehu/c/l;)V
    .locals 0

    invoke-static {p0, p1, p2}, Lcom/waiqin365/lightapp/kehu/c/b;->b(Landroid/content/Context;ZLcom/waiqin365/lightapp/kehu/c/l;)V

    return-void
.end method

.method public static a(Landroid/content/Context;ZZLcom/waiqin365/lightapp/kehu/c/l;)V
    .locals 12

    if-nez p2, :cond_5

    invoke-static {p0}, Lcom/waiqin365/base/db/offlinedata/p;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/p;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/base/db/offlinedata/p;->m()Ljava/util/HashMap;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/HashMap;->isEmpty()Z

    move-result v0

    if-eqz v0, :cond_2

    if-eqz p3, :cond_0

    invoke-interface {p3}, Lcom/waiqin365/lightapp/kehu/c/l;->a()V

    :cond_0
    invoke-static {p0, p1, p3}, Lcom/waiqin365/lightapp/kehu/c/b;->b(Landroid/content/Context;ZLcom/waiqin365/lightapp/kehu/c/l;)V

    :cond_1
    :goto_0
    return-void

    :cond_2
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    sget-wide v2, Lcom/waiqin365/lightapp/kehu/b/p;->a:J

    sub-long/2addr v0, v2

    const-wide/32 v2, 0x927c0

    cmp-long v0, v0, v2

    if-lez v0, :cond_3

    const/4 v0, 0x1

    invoke-static {p0, p1, v0, p3}, Lcom/waiqin365/lightapp/kehu/c/b;->a(Landroid/content/Context;ZZLcom/waiqin365/lightapp/kehu/c/l;)V

    goto :goto_0

    :cond_3
    if-eqz p3, :cond_4

    invoke-interface {p3}, Lcom/waiqin365/lightapp/kehu/c/l;->a()V

    :cond_4
    if-eqz p3, :cond_1

    const/4 v0, 0x0

    invoke-interface {p3, v0}, Lcom/waiqin365/lightapp/kehu/c/l;->a(I)V

    goto :goto_0

    :cond_5
    new-instance v8, Lcom/waiqin365/lightapp/kehu/c/j;

    invoke-direct {v8, p0, p1, p3}, Lcom/waiqin365/lightapp/kehu/c/j;-><init>(Landroid/content/Context;ZLcom/waiqin365/lightapp/kehu/c/l;)V

    invoke-static {p0}, Lcom/waiqin365/base/db/offlinedata/p;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/p;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/base/db/offlinedata/p;->m()Ljava/util/HashMap;

    move-result-object v6

    const-string/jumbo v0, "depttab"

    invoke-virtual {v6, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/lang/String;

    const-string/jumbo v0, "emptab"

    invoke-virtual {v6, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Ljava/lang/String;

    const-string/jumbo v0, "cmtab"

    invoke-virtual {v6, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    const-string/jumbo v1, "cmtypetab"

    invoke-virtual {v6, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    const-string/jumbo v4, "cmdisttab"

    invoke-virtual {v6, v4}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Ljava/lang/String;

    const-string/jumbo v5, "cmrelation"

    invoke-virtual {v6, v5}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v5

    move-object v7, v5

    check-cast v7, Ljava/lang/String;

    const-string/jumbo v5, "%s#%s#%s#%s"

    const/4 v9, 0x4

    new-array v9, v9, [Ljava/lang/Object;

    const/4 v10, 0x0

    const-string/jumbo v11, "pdtab"

    invoke-virtual {v6, v11}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v11

    aput-object v11, v9, v10

    const/4 v10, 0x1

    const-string/jumbo v11, "pdtypetab"

    invoke-virtual {v6, v11}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v11

    aput-object v11, v9, v10

    const/4 v10, 0x2

    const-string/jumbo v11, "PdUnit"

    invoke-virtual {v6, v11}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v11

    aput-object v11, v9, v10

    const/4 v10, 0x3

    const-string/jumbo v11, "PdExtDetail"

    invoke-virtual {v6, v11}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v11

    aput-object v11, v9, v10

    invoke-static {v5, v9}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v5

    const-string/jumbo v9, "linkmantab"

    invoke-virtual {v6, v9}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v6

    check-cast v6, Ljava/lang/String;

    const-string/jumbo v9, "%s#%s#%s#%s"

    const/4 v10, 0x4

    new-array v10, v10, [Ljava/lang/Object;

    const/4 v11, 0x0

    aput-object v0, v10, v11

    const/4 v0, 0x1

    aput-object v1, v10, v0

    const/4 v0, 0x2

    aput-object v4, v10, v0

    const/4 v0, 0x3

    aput-object v7, v10, v0

    invoke-static {v9, v10}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v4

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/waiqin365/base/login/mainview/a;->p(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    new-instance v0, Lcom/waiqin365/base/login/b/a/a;

    invoke-direct/range {v0 .. v6}, Lcom/waiqin365/base/login/b/a/a;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    new-instance v1, Lcom/waiqin365/base/login/b/c;

    invoke-direct {v1, v8, v0}, Lcom/waiqin365/base/login/b/c;-><init>(Landroid/os/Handler;Lcom/waiqin365/base/login/b/d;)V

    invoke-virtual {v1}, Lcom/waiqin365/base/login/b/c;->start()V

    if-eqz p3, :cond_1

    invoke-interface {p3}, Lcom/waiqin365/lightapp/kehu/c/l;->a()V

    goto/16 :goto_0
.end method

.method public static a(Landroid/content/Context;Ljava/lang/String;)Z
    .locals 4

    const/4 v1, 0x0

    const/4 v0, 0x1

    sget-boolean v2, Lcom/fiberhome/gaea/client/c/b;->v:Z

    if-eqz v2, :cond_1

    :cond_0
    :goto_0
    return v0

    :cond_1
    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-eqz v2, :cond_2

    move v0, v1

    goto :goto_0

    :cond_2
    invoke-static {p0}, Lcom/waiqin365/base/db/offlinedata/d;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/d;

    move-result-object v2

    invoke-virtual {v2, p1}, Lcom/waiqin365/base/db/offlinedata/d;->c(Ljava/lang/String;)Lcom/waiqin365/lightapp/kehu/b/am;

    move-result-object v2

    if-nez v2, :cond_0

    const-string/jumbo v2, "cm_nearby_online_v2"

    const-string/jumbo v3, ""

    invoke-static {p0, v2, v3}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    const-string/jumbo v3, "3"

    invoke-virtual {v3, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_0

    move v0, v1

    goto :goto_0
.end method

.method public static a(Landroid/content/Context;Ljava/util/ArrayList;Lcom/waiqin365/base/db/cmfilteritem/a;Lcom/waiqin365/base/db/cmfilteritem/a;)Z
    .locals 6

    const/4 v1, 0x1

    const/4 v2, 0x0

    :try_start_0
    invoke-static {p0}, Lcom/waiqin365/base/db/offlinedata/d;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/d;

    move-result-object v3

    if-nez p3, :cond_1

    const-string/jumbo v0, "1"

    :goto_0
    invoke-virtual {v3, v0}, Lcom/waiqin365/base/db/offlinedata/d;->e(Ljava/lang/String;)Ljava/util/ArrayList;

    move-result-object v4

    if-eqz v4, :cond_3

    invoke-virtual {v4}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-lez v0, :cond_3

    move v3, v2

    :goto_1
    invoke-virtual {v4}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v3, v0, :cond_3

    invoke-virtual {v4, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/cmfilteritem/a;

    invoke-virtual {v0, p3}, Lcom/waiqin365/base/db/cmfilteritem/a;->a(Lcom/waiqin365/base/db/cmfilteritem/a;)V

    if-eqz p2, :cond_0

    invoke-virtual {v4, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/cmfilteritem/a;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/cmfilteritem/a;->a()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p2}, Lcom/waiqin365/base/db/cmfilteritem/a;->a()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v0, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-virtual {v4, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/cmfilteritem/a;

    const/4 v5, 0x1

    iput-boolean v5, v0, Lcom/waiqin365/base/db/cmfilteritem/a;->a:Z

    :cond_0
    if-nez p3, :cond_2

    invoke-virtual {v4, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    invoke-virtual {p1, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    :goto_2
    invoke-virtual {v4, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/cmfilteritem/a;

    invoke-static {p0, v4, p2, v0}, Lcom/waiqin365/lightapp/kehu/c/b;->a(Landroid/content/Context;Ljava/util/ArrayList;Lcom/waiqin365/base/db/cmfilteritem/a;Lcom/waiqin365/base/db/cmfilteritem/a;)Z

    add-int/lit8 v0, v3, 0x1

    move v3, v0

    goto :goto_1

    :cond_1
    invoke-virtual {p3}, Lcom/waiqin365/base/db/cmfilteritem/a;->a()Ljava/lang/String;

    move-result-object v0

    goto :goto_0

    :cond_2
    invoke-virtual {v4, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/cmfilteritem/a;

    invoke-virtual {p3, v0}, Lcom/waiqin365/base/db/cmfilteritem/a;->b(Lcom/waiqin365/base/db/cmfilteritem/a;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_2

    :catch_0
    move-exception v0

    move v0, v2

    :goto_3
    return v0

    :cond_3
    move v0, v1

    goto :goto_3
.end method

.method public static a(Landroid/content/Context;Ljava/util/ArrayList;Lcom/waiqin365/base/db/cmfilteritem/a;Lcom/waiqin365/base/db/cmfilteritem/a;Ljava/lang/String;)Z
    .locals 6

    const/4 v1, 0x1

    const/4 v2, 0x0

    :try_start_0
    invoke-static {p0}, Lcom/waiqin365/base/db/offlinedata/d;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/d;

    move-result-object v3

    if-nez p3, :cond_1

    const-string/jumbo v0, "-1"

    :goto_0
    invoke-virtual {v3, v0, p4}, Lcom/waiqin365/base/db/offlinedata/d;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/util/ArrayList;

    move-result-object v4

    if-eqz v4, :cond_3

    invoke-virtual {v4}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-lez v0, :cond_3

    move v3, v2

    :goto_1
    invoke-virtual {v4}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v3, v0, :cond_3

    invoke-virtual {v4, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/cmfilteritem/a;

    invoke-virtual {v0, p3}, Lcom/waiqin365/base/db/cmfilteritem/a;->a(Lcom/waiqin365/base/db/cmfilteritem/a;)V

    if-eqz p2, :cond_0

    invoke-virtual {v4, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/cmfilteritem/a;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/cmfilteritem/a;->a()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p2}, Lcom/waiqin365/base/db/cmfilteritem/a;->a()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v0, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-virtual {v4, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/cmfilteritem/a;

    const/4 v5, 0x1

    iput-boolean v5, v0, Lcom/waiqin365/base/db/cmfilteritem/a;->a:Z

    :cond_0
    if-nez p3, :cond_2

    invoke-virtual {v4, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    invoke-virtual {p1, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    :goto_2
    invoke-virtual {v4, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/cmfilteritem/a;

    invoke-static {p0, v4, p2, v0, p4}, Lcom/waiqin365/lightapp/kehu/c/b;->a(Landroid/content/Context;Ljava/util/ArrayList;Lcom/waiqin365/base/db/cmfilteritem/a;Lcom/waiqin365/base/db/cmfilteritem/a;Ljava/lang/String;)Z

    add-int/lit8 v0, v3, 0x1

    move v3, v0

    goto :goto_1

    :cond_1
    invoke-virtual {p3}, Lcom/waiqin365/base/db/cmfilteritem/a;->a()Ljava/lang/String;

    move-result-object v0

    goto :goto_0

    :cond_2
    invoke-virtual {v4, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/cmfilteritem/a;

    invoke-virtual {p3, v0}, Lcom/waiqin365/base/db/cmfilteritem/a;->b(Lcom/waiqin365/base/db/cmfilteritem/a;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_2

    :catch_0
    move-exception v0

    move v0, v2

    :goto_3
    return v0

    :cond_3
    move v0, v1

    goto :goto_3
.end method

.method public static b(Ljava/lang/String;)Ljava/lang/String;
    .locals 2

    const-string/jumbo v0, "[\'\"&\\\\]+"

    invoke-static {v0}, Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern;

    move-result-object v0

    invoke-virtual {v0, p0}, Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;

    move-result-object v0

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Ljava/util/regex/Matcher;->replaceAll(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method private static b(Landroid/content/Context;ZLcom/waiqin365/lightapp/kehu/c/l;)V
    .locals 12

    const/4 v11, 0x2

    const/4 v10, 0x1

    new-instance v4, Lcom/waiqin365/lightapp/kehu/c/k;

    invoke-direct {v4, p0, p2}, Lcom/waiqin365/lightapp/kehu/c/k;-><init>(Landroid/content/Context;Lcom/waiqin365/lightapp/kehu/c/l;)V

    if-eqz p1, :cond_0

    :try_start_0
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    const-string/jumbo v1, "dept"

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    const-string/jumbo v1, "emp"

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    const-string/jumbo v1, "cm"

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    const-string/jumbo v1, "pd"

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    const-string/jumbo v1, "linkman"

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    invoke-static {p0, v0}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/util/ArrayList;)V

    :cond_0
    invoke-static {p0}, Lcom/waiqin365/base/db/offlinedata/p;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/p;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/base/db/offlinedata/p;->m()Ljava/util/HashMap;

    move-result-object v3

    new-instance v5, Lorg/json/JSONArray;

    invoke-direct {v5}, Lorg/json/JSONArray;-><init>()V

    const-string/jumbo v0, "dept"

    const/4 v1, 0x1

    invoke-static {p0, v0, v1}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Z)Z

    move-result v0

    if-eqz v0, :cond_1

    new-instance v0, Lorg/json/JSONObject;

    invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V

    const-string/jumbo v1, "dataType"

    const-string/jumbo v2, "dept"

    invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string/jumbo v1, "dataVer"

    const-string/jumbo v2, "depttab"

    invoke-virtual {v3, v2}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    invoke-virtual {v5, v0}, Lorg/json/JSONArray;->put(Ljava/lang/Object;)Lorg/json/JSONArray;

    :cond_1
    const-string/jumbo v0, "emp"

    const/4 v1, 0x1

    invoke-static {p0, v0, v1}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Z)Z

    move-result v0

    if-eqz v0, :cond_2

    new-instance v0, Lorg/json/JSONObject;

    invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V

    const-string/jumbo v1, "dataType"

    const-string/jumbo v2, "emp"

    invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string/jumbo v1, "dataVer"

    const-string/jumbo v2, "emptab"

    invoke-virtual {v3, v2}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    invoke-virtual {v5, v0}, Lorg/json/JSONArray;->put(Ljava/lang/Object;)Lorg/json/JSONArray;

    :cond_2
    const-string/jumbo v0, "pd"

    const/4 v1, 0x1

    invoke-static {p0, v0, v1}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Z)Z

    move-result v0

    if-eqz v0, :cond_3

    new-instance v0, Lorg/json/JSONObject;

    invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V

    const-string/jumbo v1, "dataType"

    const-string/jumbo v2, "pd"

    invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string/jumbo v1, "%s#%s#%s#%s"

    const/4 v2, 0x4

    new-array v2, v2, [Ljava/lang/Object;

    const/4 v6, 0x0

    const-string/jumbo v7, "pdtab"

    invoke-virtual {v3, v7}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v7

    aput-object v7, v2, v6

    const/4 v6, 0x1

    const-string/jumbo v7, "pdtypetab"

    invoke-virtual {v3, v7}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v7

    aput-object v7, v2, v6

    const/4 v6, 0x2

    const-string/jumbo v7, "PdUnit"

    invoke-virtual {v3, v7}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v7

    aput-object v7, v2, v6

    const/4 v6, 0x3

    const-string/jumbo v7, "PdExtDetail"

    invoke-virtual {v3, v7}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v7

    aput-object v7, v2, v6

    invoke-static {v1, v2}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    const-string/jumbo v2, "dataVer"

    invoke-virtual {v0, v2, v1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    invoke-virtual {v5, v0}, Lorg/json/JSONArray;->put(Ljava/lang/Object;)Lorg/json/JSONArray;

    :cond_3
    const-string/jumbo v0, "linkman"

    const/4 v1, 0x1

    invoke-static {p0, v0, v1}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Z)Z

    move-result v0

    if-eqz v0, :cond_4

    new-instance v0, Lorg/json/JSONObject;

    invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V

    const-string/jumbo v1, "dataType"

    const-string/jumbo v2, "linkman"

    invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string/jumbo v1, "dataVer"

    const-string/jumbo v2, "linkmantab"

    invoke-virtual {v3, v2}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    invoke-virtual {v5, v0}, Lorg/json/JSONArray;->put(Ljava/lang/Object;)Lorg/json/JSONArray;

    :cond_4
    const-string/jumbo v0, "cm"

    const/4 v1, 0x1

    invoke-static {p0, v0, v1}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Z)Z

    move-result v0

    if-eqz v0, :cond_5

    new-instance v6, Lorg/json/JSONObject;

    invoke-direct {v6}, Lorg/json/JSONObject;-><init>()V

    const-string/jumbo v0, "dataType"

    const-string/jumbo v1, "cm"

    invoke-virtual {v6, v0, v1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string/jumbo v0, "cmtab"

    invoke-virtual {v3, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    const-string/jumbo v1, "cmtypetab"

    invoke-virtual {v3, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    const-string/jumbo v2, "cmdisttab"

    invoke-virtual {v3, v2}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/lang/String;

    const-string/jumbo v7, "cmrelation"

    invoke-virtual {v3, v7}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Ljava/lang/String;

    const-string/jumbo v7, "%s#%s#%s#%s"

    const/4 v8, 0x4

    new-array v8, v8, [Ljava/lang/Object;

    const/4 v9, 0x0

    aput-object v0, v8, v9

    const/4 v0, 0x1

    aput-object v1, v8, v0

    const/4 v0, 0x2

    aput-object v2, v8, v0

    const/4 v0, 0x3

    aput-object v3, v8, v0

    invoke-static {v7, v8}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    const-string/jumbo v1, "dataVer"

    invoke-virtual {v6, v1, v0}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    invoke-virtual {v5, v6}, Lorg/json/JSONArray;->put(Ljava/lang/Object;)Lorg/json/JSONArray;

    :cond_5
    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/waiqin365/base/login/mainview/a;->p(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    new-instance v1, Lcom/waiqin365/base/login/b/a/b;

    invoke-virtual {v5}, Lorg/json/JSONArray;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v0, v2}, Lcom/waiqin365/base/login/b/a/b;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    new-instance v0, Lcom/waiqin365/base/login/b/c;

    invoke-direct {v0, v4, v1}, Lcom/waiqin365/base/login/b/c;-><init>(Landroid/os/Handler;Lcom/waiqin365/base/login/b/d;)V

    invoke-virtual {v0}, Lcom/waiqin365/base/login/b/c;->start()V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :cond_6
    :goto_0
    return-void

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;

    move-result-object v0

    invoke-static {p0, v0, v10}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    if-eqz p2, :cond_6

    invoke-interface {p2, v11}, Lcom/waiqin365/lightapp/kehu/c/l;->a(I)V

    goto :goto_0
.end method

.method public static c(Ljava/lang/String;)Ljava/lang/String;
    .locals 3

    invoke-static {p0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_2

    const-string/jumbo v0, " "

    const-string/jumbo v1, ""

    invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object v0

    const-string/jumbo v1, "-"

    const-string/jumbo v2, ""

    invoke-virtual {v0, v1, v2}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object v0

    const-string/jumbo v1, "86"

    invoke-virtual {v0, v1}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_1

    const-string/jumbo v1, "86"

    const-string/jumbo v2, ""

    invoke-virtual {v0, v1, v2}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object v0

    :cond_0
    :goto_0
    const-string/jumbo v1, "0"

    invoke-virtual {v0, v1}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_2

    :goto_1
    return-object v0

    :cond_1
    const-string/jumbo v1, "+86"

    invoke-virtual {v0, v1}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_0

    const-string/jumbo v1, "+86"

    const-string/jumbo v2, ""

    invoke-virtual {v0, v1, v2}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object v0

    goto :goto_0

    :cond_2
    const/4 v0, 0x0

    goto :goto_1
.end method
